/**
 * @project_name staff_vehicle
 * @package_name com.ssh.ser.admin
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-28
 * @time 下午3:47:24
 */
package com.ssh.ser.admin;

import java.sql.Timestamp;
import java.util.List;

import com.ssh.dao.VcarTableDAOI;
import com.ssh.dao.VisitorTableDAOI;
import com.ssh.entity.VcarTable;
import com.ssh.entity.Vehicle;
import com.ssh.model.pdata.VVisitorMPData;

/**
 * @author jack
 *
 */
public class VVisitorManageSerImpl implements VVisitorManageSerI {
	VcarTableDAOI vcarTableDAOI;

	/**
	 * @return the vcarTableDAOI
	 */
	public VcarTableDAOI getVcarTableDAOI() {
		return vcarTableDAOI;
	}

	/**
	 * @param vcarTableDAOI
	 *            the vcarTableDAOI to set
	 */
	public void setVcarTableDAOI(VcarTableDAOI vcarTableDAOI) {
		this.vcarTableDAOI = vcarTableDAOI;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.ssh.ser.admin.VVisitorManageSerI#viewAllBVV(com.ssh.entity.VcarTable,
	 * com.ssh.entity.Vehicle)
	 */
	@Override
	public List<VVisitorMPData> viewAllBVV(VcarTable vcarTable, Vehicle vehicle) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see com.ssh.ser.admin.VVisitorManageSerI#viewAllBVV(com.ssh.entity.Vehicle,
	 * com.ssh.entity.VcarTable)
	 */
	@Override
	public List<VVisitorMPData> viewAllBVV(Vehicle vehicle, VcarTable vcarTable) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see com.ssh.ser.admin.VVisitorManageSerI#viewAllVVisitor()
	 */
    /**	查询所有来访车辆的信息*/
	@Override
	public List<VVisitorMPData> viewAllVVisitor() {
		// TODO Auto-generated method stub
		return vcarTableDAOI.queryAllVVisitor();
	}
   /**查询某一来访人员某一时间信息*/
	@Override
	public VVisitorMPData viewOneVVisitor(String vehicleId,
			String visitorId,Timestamp inTime) {
		// TODO Auto-generated method stub
		return vcarTableDAOI.queryOneVVisitor(vehicleId, visitorId, inTime);
	}

	/**查询某一来访人员某一时间信息*/
	@Override
	public VVisitorMPData viewOneVVisitor(String vehicleId,Timestamp inTime) {
		// TODO Auto-generated method stub
		return vcarTableDAOI.queryOneVVisitor(vehicleId, inTime);
	}
	/*
	 * (non-Javadoc)
	 *
	 * @see com.ssh.ser.admin.VVisitorManageSerI#viewVVisitorBV(java.lang.String)
	 */
	@Override
	public List<VVisitorMPData> viewVVisitorBV(String vehicleId) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.ssh.ser.admin.VVisitorManageSerI#viewVVisitorBV(com.ssh.entity.VcarTable
	 * )
	 */
	@Override
	public List<VVisitorMPData> viewVVisitorBV(VcarTable vcarTable) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 *
	 * @see
	 * com.ssh.ser.admin.VVisitorManageSerI#viewVVisitorBV(com.ssh.entity.Vehicle)
	 */
	@Override
	public List<VVisitorMPData> viewVVisitorBV(Vehicle vehicle) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<VVisitorMPData> viewVVisitorByVehicleId(String vehicleId) {
		// TODO Auto-generated method stub
		return vcarTableDAOI.queryVVisitorByVehicleId(vehicleId);
	}

	@Override
	public List<VVisitorMPData> viewVVisitorByInTime(Timestamp inTime) {
		// TODO Auto-generated method stub
		return vcarTableDAOI.queryVVisitorByInTime(inTime);
	}

}
